Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the SaveAsPdfCallback.

Constructors

Link copied to clipboard
public void SaveAsPdfCallback.Action(Consumer<SaveAsPdf.Response> consumer)

Functions

Link copied to clipboard
public void cancel()
Notifies the browser that the save file dialog was cancelled.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void save(Path filePath)
Notifies the browser that the save file dialog was closed and the given file was selected.